package gui;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Chul {
	String id;
	Date checkIn;
	Date checkOut;
	Date nal;
	
	public Chul(String id,Date cin, Date cout,Date n){
		this.id =id;
		this.checkIn= cin;
		this.checkOut= cout;
		this.nal = n;
	}
	@Override
	public String toString(){
		String temp=null;
		
		SimpleDateFormat sd=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		temp= String.format("%-10s %-25s",id,sd.format(nal));
		
		
		
		
		return temp;
	}
}

